<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8" />
	<title>PMS项目管理系统</title>
	<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
	<link type="text/css" href="css/mycss.css" rel="stylesheet"/>
</head>
<body class="body">
	<%@ include file="include/top.jsp" %>
	
	<div class="container">
		<div class="row">
			
			<jsp:include page="include/side.jsp">
				<jsp:param value="linkman" name="tag"/>
			</jsp:include>
			<div class="span9">
				<div class="breadcrumb" style="margin-bottom:0px;border-radius:3px 3px 0px 0px">
					<li class="active">
						<a href="task.html"><i class="icon-user"></i>联系人</a>
					</li>
				</div>
				<div class="wall">
					<div class="row">
						<div class="span3">
							<div class="btn span2">
								<a href="contact.jspx?_c=new_contact"><i class="icon-plus"></i>添加联系人</a>
							</div>
							<div class="clear"></div>
							<ul class="unstyled" style="margin-top:15px">
							<%
								List<LinkMan> listLink = (List<LinkMan>)session.getAttribute(Const.LINKMAN_IN_SESSION);
								for(LinkMan lm : listLink){
							 %>
								<li style="line-height:30px"><i class="icon-list-alt"></i><a href="contact.jspx?_c=show&id=<%=lm.getL_id() %>"><%=lm.getL_name() %></a></li>
							<%  } %>
							</ul>
						</div>
						<div class="span5" style="min-height:400px;border-left:1px solid #CCC;padding-left:15px">
							<address>
								<%
									LinkMan lm = (LinkMan)session.getAttribute(Const.CURRENT_LINKMAN_IN_SESSION);
								 %>
								<h3><%=lm.getL_name() %></h3>
								<p><%=lm.getL_company() %></p>
								<small>手机 </small><%=lm.getL_telephone() %><br>
								<small>固话 </small><%=lm.getL_phone() %><br>
								<br><br>
								<small>邮箱 </small><%=lm.getL_email() %><br>
								<small>地址 </small><%=lm.getL_address() %>
								<br><br>
								<small>主页 </small><a href="http://www.kaishengit.com"><%=lm.getL_home_html() %></a><br>
								<small>微博 </small><a href="http://twitter.com/fankai">@fankai</a><br><br>	
							</address>
							<div class="line">记录</div>
							<blockquote>
								2月1号正式开机<br>
								<small>大神发布于1天前</small>
							</blockquote>
							<blockquote>
								网页制作热火朝天中<br>
								<small>大神发布于1月前</small>
							</blockquote>
							<blockquote>
								初次领悟神奇技能<br>
								<small>大神发布于3月前</small>
							</blockquote>
							<a href="contact_note.html">查看所有记录</a>
							<br><br><br>
							<a class="btn btn-primary" href="edit_contact.html">
								<i class="icon-pencil icon-white"></i>编辑
							</a>
							<a class="btn btn-danger">
								<i class="icon-trash icon-white"></i>删除
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="js/bootstrap.min.js" type="text/javascript"></script>
	<script src="js/jquery.js" type="text/javascript"></script>
</body>
</html>